#!/bin/bash

PROJECT_DIR=$(pwd)

QEMU_OUTPUT_PATH=$PROJECT_DIR/output/qemu
QEMU_PATH=$QEMU_OUTPUT_PATH/bin
OUTPUT_IMG_PATH=$PROJECT_DIR/output
export PATH=$PATH:$QEMU_PATH

DEFAULT_VC="1280x720"

# 启动QEMU并等待GDB连接，-S表示启动后立即暂停
#qemu-system-x86_64 -boot a -fda fossix/build/bootimage.bin -vga std -display sdl
qemu-system-x86_64 -boot a -fda fossix/build/arch/x86/bootimage.bin
